FROM java:8
EXPOSE 8080

VOLUME /tmp
ADD chengcang-admin.jar /admin.jar
RUN bash -c 'touch /admin.jar'
ENTRYPOINT ["java","-jar","/admin.jar"]
